
/**
  ******************************************************************************
  * @file    stm32l0xx_it.c
  * @brief   Interrupt Service Routines.
  ******************************************************************************
  * @attention
  *
  * <h2><center>&copy; Copyright (c) 2021 STMicroelectronics.
  * All rights reserved.</center></h2>
  *
  * This software component is licensed by ST under BSD 3-Clause license,
  * the "License"; You may not use this file except in compliance with the
  * License. You may obtain a copy of the License at:
  *                        opensource.org/licenses/BSD-3-Clause
  *
  ******************************************************************************
  */



#include "main.h"
#include "stm32l0xx_it.h"







extern uint32_t timer_cnt;





























extern UART_HandleTypeDef hlpuart1;
extern UART_HandleTypeDef huart1;
extern UART_HandleTypeDef huart2;







/**
  * @brief This function handles Non maskable interrupt.
  */
void NMI_Handler(void)
{
  

  
  
  while (1)
  {
  }
  
}

/**
  * @brief This function handles Hard fault interrupt.
  */
void HardFault_Handler(void)
{
  

  
  while (1)
  {
    
    
  }
}

/**
  * @brief This function handles System service call via SWI instruction.
  */
void SVC_Handler(void)
{
  

  
  

  
}

/**
  * @brief This function handles Pendable request for system service.
  */
void PendSV_Handler(void)
{
  

  
  

  
}

/**
  * @brief This function handles System tick timer.
  */
void SysTick_Handler(void)
{
  

  
  HAL_IncTick();
  

  
}








/**
  * @brief This function handles USART1 global interrupt / USART1 wake-up interrupt through EXTI line 25.
  */
void USART1_IRQHandler(void)
{
  

  
  HAL_UART_IRQHandler(&huart1);
  

  
}

/**
  * @brief This function handles USART2 global interrupt / USART2 wake-up interrupt through EXTI line 26.
  */
void USART2_IRQHandler(void)
{
  

  
  HAL_UART_IRQHandler(&huart2);
  

  
}

/**
  * @brief This function handles LPUART1 global interrupt / LPUART1 wake-up interrupt through EXTI line 28.
  */
void LPUART1_IRQHandler(void)
{
  

  
  HAL_UART_IRQHandler(&hlpuart1);
  

  
}





